package com.mushuilingfeng.ddd.user.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author 沐水淋风
 * @date 2024/10/13
 */
@Data
@Schema(description = "修改密码参数")
public class UpdatePasswordBO {
    @Schema(description = "旧密码")
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;
    @Schema(description = "新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
